//Eg7-8.cpp
#include"stack.h"
#include<iostream>
using namespace std;
template<class T>
void display(Stack<T,10> &s) {
		while( !s.empty())	
			cout<<s.pop()<<"\t";
		cout<<endl;
}

void main(){
		Stack<int,10>  iStack;
		cout<<"-------intStack----\n";
		for(int i=1;i<10;i++)	
			iStack.push(i);
		display(iStack);
}
